﻿namespace Mockingbird.MVC.Controllers
{
    using System;
    using System.Web.Mvc;
    using Core.Infrastructure.Logging.Interfaces;
    using Core.Repository;
    using Infrastructure.BaseTypes;

    public class HomeController : BaseController
    {
        public HomeController(ILogger logger)
            : base(logger)
        {
        }

        public ActionResult Index()
        {
            return RedirectToAction("GetNewsFeedForUser", "NewsFeed", new { userId = User.Properties.Id.ToString() });
        }
    }
}
